I want to compare the first column in each file and then have the difference printed out in numbers where the landcode sould not be counted more than once.
I want to do is run a command that outputs all the lines that are in file1 but are not in file2. I tried using the Unix commands diff and comm but they both ...
The diff command is used to compare two text files. To compare the files type the command diff followed by the files you wish to compare. Try comparing sample.